* {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: rgb(32, 32, 32);
}

.container {
  width: 1200px;
  margin: 50px auto;
}

.container .logo {
  margin-bottom: 20px;
  height: 70px;
}
.container .logo img {
  float: left;
}
.container .logo input {
  width: 70px;
  height: 30px;
  background: red;
  color: white;
  border: none;
  float: left;
  margin-left: 300px;
  margin-top: 20px;
}

.container table {
  width: 100%;
  text-align: center;
  line-height: 40px;
}

.container table tr,
th,
td {
  border-bottom: 1px dotted gray;
}

.container table tr input[type='button'] {
  width: 30px;
}

.container table img {
  width: 100px;
  height: 100px;
}

.container table tr input[type='text'] {
  width: 40px;
  text-align: center;
}

.container .total-price {
  text-align: right;
  padding-right: 30px;
}

.container .total-price span {
  color: red;
  font-size: 18px;
}

/* 表单样式 */
.container .add-product {
  width: 500px;
  height: 300px;
  margin: 10px auto;
  background: gray;
  text-align: center;
  padding-top: 20px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
}

.container .add-product form {
  width: 100%;
}

.container .add-product form input {
  width: 90%;
  height: 40px;
  margin-bottom: 20px;
}
.container .add-product form p {
  margin-bottom: 20px;
}
.container .add-product form input[type='submit'] {
  width: 30%;
  border-radius: 8px;
  border: none;
  margin-right: 10px;
}
.container .add-product form input[type='button'] {
  width: 30%;
  border-radius: 8px;
  border: none;
  margin-left: 10px;
}

.hidden {
  display: none;
}
